package ltd.hxya.novel.entity.rowdata;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import ltd.hxya.novel.entity.base.ExpandBean;

import java.sql.Timestamp;

@Data
@TableName("data_part")
public class DataPart extends ExpandBean {



    private String id;

    @JSONField(name = "book_id")
    @TableField( "book_id")
    private String bookId;


    @JSONField(name = "work_direction")
    @TableField( "work_direction")
    private Boolean workDirection;


    @JSONField(name = "cat_name")
    @TableField( "cat_name")
    private String catName;


    @JSONField(name = "rank_type_id")
    @TableField( "rank_type_id")
    private String rankTypeId;


    @JSONField(name = "pic_url")
    @TableField( "pic_url")
    private String picUrl;


    @JSONField(name = "book_name")
    @TableField("book_name")
    private String bookName;


    @JSONField(name = "author_name")
    @TableField("author_name")
    private String authorName;


    @JSONField(name = "book_desc")
    @TableField("book_desc")
    private String bookDesc;


    @JSONField(name = "book_status")
    @TableField("book_status")
    private Boolean bookStatus;


    @JSONField(name = "crawl_source_id")
    @TableField("crawl_source_id")
    private Integer crawlSourceId;


    @JSONField(name = "crawl_book_id")
    @TableField("crawl_book_id")
    private String crawlBookId;


    @JSONField(name = "crawl_last_time")
    @TableField("crawl_last_time")
    private Timestamp crawlLastTime;


    @JSONField(name = "index_num")
    @TableField("index_num")
    private Integer indexNum;


    @JSONField(name = "index_name")
    @TableField("index_name")
    private String indexName;


    @JSONField(name = "word_count")
    @TableField( "word_count")
    private Integer wordCount;


    @JSONField(name = "is_vip")
    @TableField("is_vip")
    private Boolean isVip;

    private String content;

    private String category;

    private String name;
}
